import { http } from "@/utils/http";
import { baseUrlApi } from "@/api/utils";
type result = {
  code: number;
  result?: {
    token: string;
  };
};
/** 登录 */
export const login = (data?: object) => {
  return http.request<result>("post", "/dashboard/user/login", {
    data
  });
};
